package Ranking;
import java.util.Comparator;


public class GCom implements Comparator<Gas1>{
 
    @Override
    public int compare(Gas1 o1, Gas1 o2) {
        return (o1.dis>o2.dis ? -1 : (o1==o2 ? 0 : 1));
    }
}